﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace MapEntities
{
    public class MapDataResult
    {
        private ShapeList shapes = null;
        private SymbolList symbols = null;
        private SilverlightMapProperties mapProperties = null;

        public Guid RequestID { get; set; }

        public ShapeList Shapes
        {
            get
            {
                if (shapes == null)
                    shapes = new ShapeList();
                return shapes;
            }
            set { shapes = value; }
        }

        public SymbolList Symbols
        {
            get
            {
                if (symbols == null)
                    symbols = new SymbolList();
                return symbols;
            }
            set
            {
                symbols = value;
            }
        }

        public SilverlightMapProperties MapProperties
        {
            get
            {
                if (mapProperties == null)
                    mapProperties = new SilverlightMapProperties();
                return mapProperties;
            }

            set
            {
                mapProperties = value;
            }
        }

    }
}
